<?php if(!is_null($msg)){ echo $msg;}?>
<?php echo form_open_multipart('admin/tintuc/add');?>
<div> <?php echo validation_errors(); ?></div>
<div class="workplace">           
		   <div class="row-fluid">
                <div class="span12">
                    <div class="head">
                        <div class="isw-documents"></div>
                        <h1>Thêm tin tức</h1>
                        <div class="clear"></div>
                    </div>
                    <div class="block-fluid">                        
                        
                        <div class="row-form">
                            <div class="span3">Tiêu đề:</div>
                            <div class="span9"><input type="text" value="<?php echo set_value('txtTieuDe'); ?>" name="txtTieuDe"/></div>
                            <div class="clear"></div>
                        </div> 

                         <div class="row-form">
                            <div class="span3">Từ Khóa:</div>
                            <div class="span9"><input type="text" value="<?php echo set_value('txtKeyWord'); ?>" name="txtKeyWord"/></div>
                            <div class="clear"></div>
                        </div> 



                        <div class="row-form">
                            <div class="span3">Giới thiệu ngắn gọn:</div>
                             <div class="span9"><textarea   name="txtGioiThieu"><?php echo set_value('txtGioiThieu'); ?></textarea></div>
                            <div class="clear"></div>
                        </div>                         

                        <div class="row-form">
                            <div class="span3">Hình minh họa:</div>
                             <div class="span7">                                                                
                                <input type="file" name= "fileImage"/>
                            </div>
                            <div class="clear"></div>
                        </div> 

                        <div class="row-form">
                            <div class="span3">Hiển thị trang chủ:</div>
                             <div class="span7">
                                <label class="checkbox inline">
                                    <input type ="radio" name="radioHotNews" value="1"/> Có
                                </label>
                                <label class ="checkbox inline">
                                    <input type ="radio" name="radioHotNews" value ="0" checked="checked"/> Không
                                </label>
                            </div>
                            <div class="clear"></div>
                        </div>                                       
                        
                        <div class="row-form">
                            <div class="span3">Ẩn/hiện tin:</div>
                             <div class="span7">
                                <label class="checkbox inline">
                                    <input type ="radio" name="radioVisible" value="0" /> Ẩn
                                </label>
                                <label class ="checkbox inline">
                                    <input type ="radio" name="radioVisible" value = "1" checked="checked"/> Hiện
                                </label>
                            </div>
                            <div class ="clear"></div>
                        </div>                                                               

                        <div class="row-form">
                            <div class="span3">Chuyên mục:</div>
                             <div class="span7">
                                <select style="width: 100%;" name="cbChuyenMuc">
                                    <option value="0" selected>Chọn chuyên mục...</option>

                                       <?php echo $combobox_tree;?>
                           
                                </select>
                            </div>
                            <div class="clear"></div>
                        </div>                        

                        <div class="row-form">
							<div class="span3">Nội dung chi tiết:</div>
							<div class="clear"></div>
							<div class="block-fluid" id="wysiwyg_container">
								
								<!--<textarea id="wysiwyg"  style="height: 100px;" name="txtNoiDung"><?php echo set_value('txtNoiDung'); ?></textarea> -->
								<textarea class="ckeditor" rows="1000" name="txtNoiDung"><?php echo set_value('txtNoiDung'); ?></textarea>
							</div>
                            <div class="clear"></div>
                        </div>                                                

						 <div style="text-align:center;">
							<button type="submit" class="btn" type="button">Đăng tin tức</button>    
							<button class="btn btn-danger" type="button">Hủy bỏ</button>
						 </div>
                    </div>
                </div>
				
            </div>
		</div>